﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteAdm.Master" AutoEventWireup="true"
    CodeBehind="Validacao.aspx.cs" Inherits="AgileSaude.Web.Clinica.Validacao" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <!-- TÍTULO DA PÁGINA -->
    <div class="area-titulo container-fluid">
        <div class="container">
            <h2 class="titulo">
                Validação de Consultas/Exames</h2>
        </div>
    </div>
    <!-- FIM DO TÍTULO -->
    <div class="container">
        <div class="row">
            <span class="failureNotification">
                <asp:Literal ID="FailureText" runat="server"></asp:Literal>
            </span>
            <asp:ValidationSummary ID="LoginCidadeValidationSummary" runat="server" CssClass="failureNotification"
                ValidationGroup="CadastroValidationGroup" />
            <div class="area-formulario">
                <fieldset>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">
                            Voucher</label>
                        <div class="col-sm-4">
                            <asp:TextBox ID="txtVoucher" runat="server" CssClass="form-control"></asp:TextBox>
                        </div>
                        <div class="col-sm-3">
                            <asp:LinkButton ID="btnConsultar" runat="server" class="btn btn-md btn-success" Text="&#xf00c; Consultar"
                                ValidationGroup="CadastroValidationGroup" OnClick="btnConsultar_Click"></asp:LinkButton>
                        </div>
                    </div>
                </fieldset>
            </div>
            <div class="row">
                <div class="area-formulario">
                    <div class="form-group">
                        <asp:Label class="col-sm-12 control-label" runat="server" ID="lblCPF" Visible="false"><strong>Médico</strong></asp:Label></div>
                    <div class="form-group">
                        <asp:Label class="col-sm-12 control-label" runat="server" ID="lblNome" Visible="false"><strong>Endereço</strong></asp:Label></div>
                </div>
            </div>
            <div class="row">
                <asp:GridView ID="gvServicos" runat="server" AutoGenerateColumns="False" SkinID="CadastrosGrid"
                    CssClass="table table-striped table-bordered table-hover" DataKeyNames="idPedido_servicos"
                    AllowSorting="true" OnSorting="gvServicos_Sorting" PageSize="50" OnPageIndexChanging="gvServicos_PageIndexChanging"
                    AllowPaging="true">
                    <EmptyDataTemplate>
                        Voucher inválido ou não encontrado</EmptyDataTemplate>
                    <Columns>
                        <asp:BoundField DataField="ServicoDescricao" HeaderText="Serviços" SortExpression="ServicoDescricao">
                            <ItemStyle HorizontalAlign="Left" BorderColor="White" Width="70%" />
                        </asp:BoundField>
                    </Columns>
                </asp:GridView>
            </div>
            <div class="row">
                <asp:LinkButton ID="btnConfirmar" runat="server" class="btn btn-md btn-success" Text="&#xf00c; Confirmar"
                    ValidationGroup="CadastroValidationGroup" OnClick="btnConfirmar_Click"></asp:LinkButton>
            </div>
        </div>
    </div>
</asp:Content>
